<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>微信登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <script src="http://static.ydbimg.com/Scripts/jquery-1.9.1.js" type="text/javascript"></script>
	<script src="http://static.ydbimg.com/API/YdbOnline.js" type="text/javascript"></script>
</head>
<body>
    <div style="text-align: center;">
        <input type="button" value="微信登录" onclick="WxLogin()" style="width: 80px; height: 40px;" />
      <input type="button" value="分享" onclick="share()" style="width: 80px; height: 40px;" />
    </div>
    <script type="text/javascript">
        function WxLogin() {
            var YDB = new YDBOBJ();
            YDB.WXLogin(1, "http://site.appe.cc/wxlogin.aspx");
			//回调页面为文件中的wxlogin.php
        }
        function share() {
          var YDB = new YDBOBJ();
          YDB.Share('分享', '分享', 'https://br.kbc888.com/static/upload/image/b6099b384acd4e25a86a73b0877e9eb7.jpg', 'https://br.kbc888.com/addons/yun_shop/index1.html?menu#/newDiy?page_id=2&i=1', "Sharesback");
        }
    </script>
</body>
</html>
